package com.tear.language.parser;

import java.util.List;

public class Result {
	
	private Object data;
	
	private List<Object> consoles;
	
	private String error;

	public Result(Object data, List<Object> consoles) {
		this.data = data;
		this.consoles = consoles;
	}
	
	public Result(Object data, List<Object> consoles,String error) {
		this.data = data;
		this.consoles = consoles;
		this.error = error;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public List<Object> getConsoles() {
		return consoles;
	}

	public void setConsoles(List<Object> consoles) {
		this.consoles = consoles;
	}

	public String getError() {
		return error;
	}

	public void setError(String error) {
		this.error = error;
	}
	
}
